#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>

int Add(int a, int b)
{
    return a + b;
}

int sub(int a, int b)
{
    return a - b;
}

int mul(int a, int b)
{
    return a * b;
}

int dev(int a, int b)
{
    return a / b;
}
int mod(int a, int b)
{
    return a % b;
}

int main()
{
    int num1 = 0;
    char ch = 0;
    int num2 = 0;
    scanf("%d %c %d", &num1, &ch, &num2);
    switch (ch)
    {
    case '+':
        printf("%d", Add(num1, num2));
        break;
    case '-':
        printf("%d", sub(num1, num2));
        break;
    case '*':
        printf("%d", mul(num1, num2));
    case '/':
        printf("%d", dev(num1, num2));
    case '%':
        printf("%d", mod(num1, num2));
    default:
        printf("ERROR");
    }

    return 0;
}